package cn.bdqn.applysystem.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.bdqn.applysystem.entity.Grade;
@Repository("gradeMapper")
public interface GradeMapper {
	
	/**
	 * 根据课程ID查询班级
	 * */
	List<Grade> gradeListBySubjectId(@Param("subjectId") Integer subjectId);
	
	/**
	 *10-18
	 *根据班主任ID查询班级信息 
	 * */
	List<Grade> findGradeListByHeadTeacherId(@Param("headTeacherId") Integer headTeacherId);
	
}